-- We know longer need board_thickness within the wood product for now we are converting from not null to null so that we can insert records without board_thickness. We will remove this column in the future.
ALTER TABLE `wood_product_edge_banding` CHANGE `board_thickness` `board_thickness` INT NULL;


-- add the delete column to wood_product_edge_thicknesses_prices after price_per_meter

Alter Table `wood_product_edge_thicknesses_prices` Add Column `deleted` TINYINT(1) NOT NULL default 0

-- rename table wood_product_edge_thicknesses_prices to wood_product_edge_thicknesses_prices
RENAME TABLE wood_edge_thicknesses_prices TO wood_product_edge_thicknesses_prices;

-- rename table wood_product_edge_banding to wood_product_edge_banding
RENAME TABLE wood_edge_banding TO wood_product_edge_banding;

